package com.tiniplanet.webgate.service.impl;

import java.util.List;

import com.tiniplanet.webgate.common.WebConstants;
import com.tiniplanet.webgate.dao.BaseDao;
import com.tiniplanet.webgate.entity.Employee;
import com.tiniplanet.webgate.service.EmployeeService;

public class EmployeeServiceImpl extends BaseServiceImpl<Employee, String> implements EmployeeService {

	public EmployeeServiceImpl(BaseDao<Employee, String> baseDao) {
		super(baseDao);
	}

	@Override
	public List<Employee> getPage(int pageId) {
		return baseDao.getPage(pageId, WebConstants.USER_LIST_PAGE_SIZE, "id");
	}

}